<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta name="Description" content="tiny url,trim url, bitly" />
	<meta name="Keywords" content="tiny url,trim url, bitly" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="Distribution" content="Global" />
	<meta name="Author" content="Net4 Studio - fengmk2@gmail.com" />
	<meta name="Robots" content="index,follow" />
	<title>URL缩骨</title>
</head>

<body>
	<h2>需要缩骨的URL</h2>	
	<form action="/api/" method='get'>
		<p>
			<input name="url" style="width: 80%;" class="textbox" type="text" />
			<input name="search" class="button" value="缩骨" type="submit" />
		</p>			
	</form>
	
	<h2>最近缩骨</h2>
	<ul>{% for u in urls %}
		<li><img src="/site_media/images/level{{u.type|default:"1"}}.png" /><a href="/{{u.tiny}}" title="{{u.description}}" target="_blank">{% if u.title %}{{u.title}}{% else %}{{u.url}}{% endif %}</a> (缩骨{{u.tiny_count|default:"1"}}次, 路过{{u.redirect_count|default:"0"}}次)</li>
		{% endfor %}
	</ul>
</body>
</html>